


***REPLICATION FILE FOR 1977 SURVEY RESULTS

use "cis2760_2008_replication file.dta" 

**Variables
*parents_ideology (1 Ext Left 10 Ext Right)
*father_ideology (1 Ext Left 10 Ext Right)
*mother_ideology (1 Ext Left 10 Ext Right)
*gender: 1 (male) 2 (female)
*age
*education: 1 (primary education) 2 (secondary education) 3 (higher education)
*religion: 0 (no religion) 1 (go to mass seldom) 2 (go to mass often)
*prorebel_family: dummy
*prorepublic_family: dummy
*PROV: province name
*lanineq: % of landless laborers in 1860 (provincial level)
*unemployment (provincial level)
*industry (% labor force working in the industrial sector) (provincial level)



***Figure 3 & Table N1

reg parents_ideology gender age education religion lanineq unemployment industry  [pweight=weight], vce(cluster PROV)
estimates store M1
reg parents_ideology gender age education religion prorebel_family prorepublic_family education religion lanineq unemployment industry [pweight=weight], vce(cluster PROV)
estimates store M2
coefplot M1 || M2  , keep(lanineq unemployment industry) yline(0) level(90) byopts(compact rows(1)) vertical


***Table M1
ttest father_ideology, by(prorepublic_family)
ttest mother_ideology, by(prorepublic_family)

ttest father_ideology, by(prorebel_family)
ttest mother_ideology, by(prorebel_family)


